package com.xushu;

import com.xushu.boot.XushuSpringApplication;
import com.xushu.boot.XushuSpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.servlet.DispatcherServlet;

@XushuSpringBootApplication
public class Test {

	@Bean
	public DispatcherServlet dispacherServlet(){
		DispatcherServlet dispacherServlet = new DispatcherServlet();
		return dispacherServlet;
	}

	public static void main(String[] args) {
		XushuSpringApplication.run(Test.class);
	}
}
